package data.meta;

import java.util.ArrayList;
import java.util.List;

public class Meta_Method {
	String Name;
	Boolean Enabled = true;
	Boolean Visible=true;

	List<Meta_Parameter> Inputparameters= new ArrayList<Meta_Parameter>();
	List<Meta_Parameter> Outputparameters= new ArrayList<Meta_Parameter>();
	
	
	public Meta_Method(String name, List<Meta_Parameter> inputparameters,
			List<Meta_Parameter> outputparameters) {
		Name = name;
		Enabled = true;
		Visible=true;

		Inputparameters = new ArrayList<Meta_Parameter>(inputparameters);
		Outputparameters = new ArrayList<Meta_Parameter>(outputparameters);
	}
	public Meta_Method(String name, Meta_Parameter inputparameter,
			Meta_Parameter outputparameter) {
		super();
		Name = name;
		Enabled = true;
		Visible=true;
		Inputparameters.add( inputparameter );
		Outputparameters.add( outputparameter );
	}
	public Meta_Method(String name) {
		super();
		Name = name;
		Enabled = true;
		Visible=true;

	}
	public void addInputparameter(Meta_Parameter Inputparameter){
		Inputparameters.add(Inputparameter);
	}
	public void addOutputparameter(Meta_Parameter Outputparameter){
		Outputparameters.add(Outputparameter);
	}
	public List<Meta_Parameter> getInputparameters() {
		return Inputparameters;
	}
	public void setInputparameters(List<Meta_Parameter> inputparameters) {
		Inputparameters = inputparameters;
	}
	public List<Meta_Parameter> getOutputparameters() {
		return Outputparameters;
	}
	public void setOutputparameters(List<Meta_Parameter> outputparameters) {
		Outputparameters = outputparameters;
	}

	
	/*
	 * @author Robin
	 */
	public String getName() {
		return Name;
	}
	public void setName(String name) {
		Name = name;
	}
	public Boolean getEnabled() {
		return Enabled;
	}
	public void setEnabled(Boolean enabled) {
		Enabled = enabled;
	}
	public Boolean getVisible() {
		return Visible;
	}
	public void setVisible(Boolean visible) {
		Visible = visible;
	}
}
